const env: string | undefined = process.env.NODE_ENV;
const SERVE_CTX = {
	AUTH: ''
};
const configs: any = {
	// 生产环境
	production: {
		url: 'http://43.139.249.15:9500'
	},
	// 开发环境
	development: {
		// #ifdef  H5
		url: '/uni-api',
		// #endif

		//@ts-ignore
		// #ifdef  APP-PLUS | MP-WEIXIN
		url: 'http://43.139.249.15:9500'
		// #endif
	}
};

const envConfigs: {
	url: string;
} = configs[env as string];

export default { envConfigs, SERVE_CTX };
